const util = require('./utils/util.js');
App({
  onLaunch() {
    // 验证有没有登录
    util.check_login().then((res) => {
      if(res){}
    }).catch((e)=>{
      wx.navigateTo({
        url:'/pages/login/login'
      })
    })
  },
  globalData: {
    AppID:'wxf69a98e27ab12007',
    AppSecret:'46ad37d5888b791886eb4c9322a222c3',
    host:'http://localhost:3000/',
    background:'',
    userInfo: null
  }
  
 
})
